package com.xnyzc.lhy.mis.mapper.cms.invoice;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xnyzc.lhy.finance.entity.invoice.TcInvoiceInfo;
import com.xnyzc.lhy.mis.entity.result.cms.invoice.TcInvoiceInfoResults;


public interface TcInvoiceMapper extends BaseMapper<TcInvoiceInfo> {

    /**
     * 获取发票列表
     * @param iPage;分页器
     * @param tcInvoiceInfoResults：请求参数
     * @return
     */
    IPage<TcInvoiceInfoResults> getInvoiceList(IPage iPage, TcInvoiceInfoResults tcInvoiceInfoResults);

    /**
     * 获取发票列表
     * @param iPage;分页器
     * @param tcInvoiceInfoResults：请求参数
     * @return
     */
    IPage<TcInvoiceInfoResults> getInvoiceListByCondition(IPage iPage, TcInvoiceInfoResults tcInvoiceInfoResults);
}
